Skip to main content

Bot Interface


Description

The bot interface (bot user interface, or BotUI) is a visual builder for creating interfaces based on web technologies: HTML, CSS, JavaScript.

With this editor, you can easily and quickly create a beautiful and user-friendly interface for your projects without needing any web development skills!

BotUI includes settings functionality and lets you pass input parameters to a template or plugin for later use in ZennoDroid.


How to add it to your project?

Via the context menu: Add action → Project → Bot interface.

How to add to project?

Or through the Static block panel:

via Panel

icon The matching icon will appear on the panel.


This settings block is not compatible with Input settings.

So, if you add one, the other is immediately removed from the project. Be careful and save your settings first.

not compatible


Bot interface editor

icon


Main settings

icon

  • New. Creates a new interface. When you do this, the main canvas is completely cleared and all existing items on it are deleted.
  • Preview. Shows a preview of the interface
  • Undo. Go back one step.
  • Redo. Go forward one step.
  • Open code. Opens the source code editor hidden behind the visual shell.
  • Language. Switches the interface language.
  • Help. Takes you to this help article.

Work area

icon

1. Toolbar.
Here you'll find various elements for building the client interface. For example: text input forms, selection options, extra modules and services, buttons, and checkboxes.

2. Interface appearance.
A canvas for future input settings. You can drag different elements onto it from the left panel and arrange them as you want.

3. Element properties.
Here you adjust the properties of a specific element—set color, font, variable and more.


Items in the Toolbar

NameAppearanceDescription
TexticonPlain text for notes on the canvas.
TextboxiconSingle-line input field.
PasswordiconPassword field—symbols appear as dots.
NumbericonFor integer values only.
BooleaniconCheckbox for True or False.
TextAreaiconMulti-line text field.
SelecticonDropdown list. Options are set in Options, where Text is what's displayed, Value is for the variable.
RadioiconGroup of buttons to pick one option.
FilenameiconField for entering a file path. Default path is set in FilePath.
ButtoniconButton you can link to a JavaScript event.
MultiselecticonDropdown list where you can pick several options.
Captcha ModulesiconPick a captcha recognition service from available options.
Sms ServicesiconPick a SMS receiving service from available options.
Translate ServicesiconPick a text translation service from available options.
TabiconCollection of tabs. You can add any other element inside except Tab itself. Edited through Tabs.
Language SelectoriconPicks the interface language—set up in Localization.
Start ButtoniconStart button.
Stop ButtoniconStop button.
Interrupt ButtoniconButton to interrupt an action.
Proxy ControliconUses proxies from current project. Proxies are set up through ZennoDroid.
MapperElement for syncing lists/tables/Google Sheets of this project with a plugin.
User ControlHere you can add any custom elements using HTML code.

How do you add an item to the interface?

You can drag any item onto the canvas with the mouse. You can only place them in the visible area.

icon


Interface appearance

icon


Element properties

When you click an item on the canvas, its properties show up on the right.

Main

icon

Every element has unique parameters you can change in this window, like font, size, and text color.

Clicking any parameter gives you a description at the bottom.

icon

Advanced

icon

Additional properties (metadata) for finer display settings. Description of every setting is also at the bottom of the window.

Example for password field.

icon


Localization

Here you set how certain settings show up in different languages. Add languages using the Select languages button in the top left corner.

icon


Example of the final interface

You can open the user interface in ZD by right-clicking the project in the list → Settings. Or just double-click it.

icon

You end up with a simple, clear interface you can use for your template or plugin and share it with others.